package com.clkj.goldpartner.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.List;

@ApiModel
@Table(name = "t_cl_inStock")
public class InStock implements Serializable {

    @Id
    @Column(name = "inStock_id", updatable = false)
    @ApiModelProperty(value = "null")
    private Integer inStock_id;

    /**
     * 供应商id
     */
    @Column(name = "supplier_id")
    @ApiModelProperty(value = "供应商id")
    private Integer supplier_id;

    @Column(name = "shop_id")
    @ApiModelProperty(value = "null")
    private Integer shop_id;

    /**
     * 采购人id
     */
    @Column(name = "purchase_id")
    @ApiModelProperty(value = "采购人id")
    private Integer purchase_id;

    /**
     * 审核id
     */
    @Column(name = "check_id")
    @ApiModelProperty(value = "审核id")
    private Integer check_id;

    /**
     * 日期
     */
    @Column(name = "inStock_date")
    @ApiModelProperty(value = "日期")
    private String inStock_date;

    /**
     * 备注
     */
    @Column(name = "note")
    @ApiModelProperty(value = "备注")
    private String note;

    /**
     * 单据编号
     */
    @Column(name = "in_num")
    @ApiModelProperty(value = "单据编号")
    private String in_num;

    @Column(name = "step1_date")
    @ApiModelProperty(value = "null")
    private String step1_date;

    @Column(name = "in_status")
    @ApiModelProperty(value = "null")
    private String in_status;

    /**
     * 总金额
     */
    @Column(name = "total_sum")
    @ApiModelProperty(value = "总金额")
    private Double total_sum;

    private List<StockInfo> stockInfos;

    public List<StockInfo> getStockInfos() {
        return stockInfos;
    }

    public void setStockInfos(List<StockInfo> stockInfos) {
        this.stockInfos = stockInfos;
    }

    public Integer getInStock_id() {
        return inStock_id;
    }

    public void setInStock_id(Integer inStock_id) {
        this.inStock_id = inStock_id;
    }


    public Integer getSupplier_id() {
        return supplier_id;
    }

    public void setSupplier_id(Integer supplier_id) {
        this.supplier_id = supplier_id;
    }


    public Integer getShop_id() {
        return shop_id;
    }

    public void setShop_id(Integer shop_id) {
        this.shop_id = shop_id;
    }


    public Integer getPurchase_id() {
        return purchase_id;
    }

    public void setPurchase_id(Integer purchase_id) {
        this.purchase_id = purchase_id;
    }


    public Integer getCheck_id() {
        return check_id;
    }

    public void setCheck_id(Integer check_id) {
        this.check_id = check_id;
    }


    public String getInStock_date() {
        return inStock_date;
    }

    public void setInStock_date(String inStock_date) {
        this.inStock_date = inStock_date;
    }


    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }


    public String getIn_num() {
        return in_num;
    }

    public void setIn_num(String in_num) {
        this.in_num = in_num;
    }


    public String getStep1_date() {
        return step1_date;
    }

    public void setStep1_date(String step1_date) {
        this.step1_date = step1_date;
    }


    public String getIn_status() {
        return in_status;
    }

    public void setIn_status(String in_status) {
        this.in_status = in_status;
    }


    public Double getTotal_sum() {
        return total_sum;
    }

    public void setTotal_sum(Double total_sum) {
        this.total_sum = total_sum;
    }

}
